package com.jy.rhin.model.body.ertongjktj;


import com.jy.rhin.infra.cda.EDataElement;
import com.jy.rhin.infra.cda.XPath;
import com.jy.rhin.infra.cda.XValid;
import lombok.Getter;
import lombok.Setter;

//两次随访间患病情况条目
@Getter
@Setter
public class LiangCiSFJHBQK {

    //两次随访间患病标志
    @XPath(path = "/value/@value")
    private String liangCiSFHBBZ;

    //两次随访间患肺炎住院次数
    @XPath(model = "code", codePath = "/entryRelationship/observation/code[@displayName='两次随访间患肺炎住院次数']",
            path = "/value/@value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_090_00))
    private String lIANGCISFJHFYZYCS;

    //两次随访间患腹泻住院次数
    @XPath(model = "code", codePath = "/entryRelationship/observation/code[@displayName='两次随访间患腹泻住院次数']",
            path = "/value/@value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_090_00))
    private String lIANGCISFJHFXZYCS;

    //两次随访间因外伤住院次数
    @XPath(model = "code", codePath = "/entryRelationship/observation/code[@displayName='两次随访间因外伤住院次数']",
            path = "/value/@value",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE02_10_090_00))
    private String lIANGCISFJYWSZYCS;

    //两次随访间患其他疾病情况
    @XPath(model = "code", codePath = "/entryRelationship/observation/code[@code='DE06.00.071.00']",
            path = "/value/text()",
            xValid = @XValid(type = "dataElement", dataElement = EDataElement.DE06_00_071_00))
    private String lIANGCISFJHQTBXS;
}
